	<div style="margin-top:20px">
		<?php echo __('label_interview',  null, 'candidate_candidates')?>
		<a style="color:#00f; font-size:11px; font-style: italic;" href="<?php echo sfConfig::get('app_prefix') .  url_for2('candidate_export_current', array('sf_culture' => $sf_user->getCulture(), 'id' => $data['id'], 'action_name' => ADMIN_DEFINED::EXPORT))?>" target="_blank"><?php echo __('export_to_excel', null, 'candidate_candidates')?></a>

	</div>
	<div class="box-content-main">
	<table border="1" class="dt-tbl-ct-border" style="width:100%" cellpadding="2" cellspacing="0">
		<tr>
			<td class="dt-ct-header"><?php echo __('interview_apply', null, 'candidate_candidates')?></td>
			<td class="dt-ct-header"><?php echo __('interview_date', null, 'candidate_candidates')?></td>
			<td class="dt-ct-header-final"><?php echo __('interview_company', null, 'candidate_candidates')?></td>
			<td class="dt-ct-header"><?php echo __('interview_status', null, 'candidate_candidates')?></td>
			<td class="dt-ct-header"><?php echo __('interview_action', null, 'candidate_candidates')?></td>
		</tr>
		<?php 
		$interview  = CandidateToJobsTable::getListByCandidateId($data['id']);
		foreach($interview as $in):	?>
		<tr>
			<td><?php echo DateHelper::dateFormatFree($in['date_apply'], 'Y-m-d') ?></td>
			<td><?php echo DateHelper::dateFormatFree($in['date_interview'], 'Y-m-d') ?></td>
			<td><?php echo $in['Jobs']['Companies']['company_name'], ' - ', $in['Jobs']['title']?></td>
			<td><?php echo __('result_status_'.str_replace('-', '_', $in['result_status']), null, 'array_data')?></td>
			<td>
				<a href="#" class="apply-edit" data-title="<?php echo __('apply_title', null, 'candidate_candidates')?>" data-candidate-id="<?php echo $data['id']?>" data-job-id="<?php echo $in['Jobs']['id']?>" title="<?php echo __('interview_edit', null, 'candidate_candidates')?>"><img src="/css/admin/img/global/edit.png" /></a>
				<!-- <a href="#" class="apply-delete" data-confirm="<?php echo __('apply_delete_confirm', null, 'candidate_candidates')?>" data-id="<?php echo $in['id']?>" title="<?php echo __('interview_delete', null, 'candidate_candidates')?>"><img src="/css/admin/img/global/control-delete.png" /></a> -->
				
			</td>
		</tr>
	<?php endforeach; ?>
	<?php if (count($interview) == 0): ?>
		<tr>
			<td colspan="5">
				<?php echo __('no_information', null, 'table_list');?>
			</td>
		</tr>
		
	<?php endif?>
	</table>	
</div>